package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 
 * @TableName tb_prod
 */
@TableName(value ="tb_prod")
@Data
public class TbProd implements Serializable {
    /**
     * 商品id
     */
    @TableId(type = IdType.AUTO)
    private Integer prodId;

    /**
     * 商品名称
     */
    private String prodName;

    /**
     * 商品价格
     */
    private Double prodPrice;

    /**
     * 
     */
    private Integer prodStatus;

    /**
     * 商家id
     */
    private Integer userId;

    /**
     * 商品类型来源字典表
     */
    private Integer prodType;

    /**
     * 
     */
    private Date createTime;

    /**
     * 驳回理由
     */
    private String reason;


    @TableField(exist = false)
    private String statuName;
    @TableField(exist = false)
    private String nickName;
    @TableField(exist = false)
    private String typeName;

    @TableField(exist = false)
    private List<TbProdImage> tbProdImages;

    @TableField(exist = false)
    private Integer buyNum;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}